import request from '@/utils/request'

// 查询退休人员补贴项目设置列表
export function listSetRetireeSubsidyItems(query) {
  return request({
    url: '/compensationManagement/setRetireeSubsidyItems/list',
    method: 'get',
    params: query
  })
}

// 查询退休人员补贴项目设置详细
export function getSetRetireeSubsidyItems(subsidyprojectId) {
  return request({
    url: '/compensationManagement/setRetireeSubsidyItems/' + subsidyprojectId,
    method: 'get'
  })
}

// 新增退休人员补贴项目设置
export function addSetRetireeSubsidyItems(data) {
  return request({
    url: '/compensationManagement/setRetireeSubsidyItems',
    method: 'post',
    data: data
  })
}

// 修改退休人员补贴项目设置
export function updateSetRetireeSubsidyItems(data) {
  return request({
    url: '/compensationManagement/setRetireeSubsidyItems',
    method: 'put',
    data: data
  })
}

// 删除退休人员补贴项目设置
export function delSetRetireeSubsidyItems(subsidyprojectId) {
  return request({
    url: '/compensationManagement/setRetireeSubsidyItems/' + subsidyprojectId,
    method: 'delete'
  })
}
